namespace NEnsure.Rules
{
	public class ContainsDigitRule : RegexRule
	{
		public override string RuleKey
		{
			get { return "Contains-Digit Rule"; }
		}

		public ContainsDigitRule()
			: base(@"[0-9]", "Property {key} must contain at least one digit [0-9]. You entered: {value}")
		{
			
		}
	}
}
